<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Neo Estratégia e Comunicação</title>
    <meta name="layout" content="site">
  </head>
  <body>
    <div class="content">
      <div class="content_resize">
        <div class="mainbar" >
          <h2><span>Clientes</span></h2>
          <div class="article" >
            <g:each in="${clientes}">
              <div style="float:left; width: 180px; height: 150px">
                <g:if test="${it.link}">
                  <a href="${it.link }" target="blank"><img id="imgClientes" src="${createLink(controller:'clientes', action:'view', id:it.id)}"/></a>
                </g:if>
                <g:else>
                  <img id="imgClientes" src="${createLink(controller:'clientes', action:'view', id:it.id)}"/>
                </g:else>
              </div>
              <div style="float: right; width: 500px; height: 150px">
                <p>${it.depoimento}</p>
                <g:link controller="principal" action="caseSucesso" id="${it.id}">Conheça o Case desta empresa</g:link>
              </div>
            </g:each>
          </div>
        </div>
        <div class="clr"></div>
      </div>
    </div>
  </body>
</html>
